﻿using Ideaa.Domain.Models.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ideaa.Domain.Models.Idea
{
    public class Suggestion : PostEntity
    {
        // Properties
        public int IdeaId { get; set; }

        // Constructors
        public Suggestion(string createdUserId, string title, string content, int ideaId, int id = 0)
            : base(createdUserId, title, content, id)
        {
            this.IdeaId = ideaId;
        }

        /// <summary>
        /// Do not use this constructor. It is reserved for internal use e.g AutoMapper mappings
        /// </summary>
        public Suggestion()
            : base(null, null, null)
        {

        }
    }
}
